//==============================================================================
// Spartan Hoplite_Anim.txt
//==============================================================================

//==============================================================================
define blood
{
   SetSelector none 
   {
      set hotspot
      {
         version
         {
          Visualparticle sfx a blood spurt
         }
      }
   }
}

//==============================================================================
define greeksword
{
   set hotspot
   {
      version
      {
         Visual Kopis
		ReplaceTexture Attachments G Sword Iron/Kopis Sword
      }
   }
}
//==============================================================================
define Armour
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Hoplite Armour Pieces
	    Replacetexture infantry g hoplite head standard/Corinthian Armour Pieces
         }
      }
   }
}
//==============================================================================
define spear
{
	set hotspot
	{
		version
		{
			visual attachments g dory
		}
	}
}
//==============================================================================
define LargeGreekShield
{
   SetSelector
   {
      set hotspot
      {
         version
         {
         	visual Greek Shield1
		ReplaceTexture Attachments G Shield Copper/Armored Hoplite Shield
         }
      }
   }
}

//==============================================================================
define Head
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Armored hoplite Helmet
	        ReplaceTexture Infantry G Hoplite Head Bronze/Corinth Helmet
         }
      }
   }
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
				Visual Spartan_IdleA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Muscle Armor1
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_idleA
				}
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Spartan_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag FootstepLeft 0.00 true   
               tag FootstepRight 0.50 true   
//-- end auto generated section
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
					connect LeftForearm LargeGreekShield hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Muscle Armor1
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_WalkA
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry G Hypaspist_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					connect RightHand Spear hotspot
					connect LeftForearm LargeGreekShield hotspot
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hypaspist Standard/Muscle Armor
					ReplaceTexture Infantry G Hypaspist Cape/Spartan Cape
				}
				version
				{
           				 Visual Infantry G Hypaspist_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag Attack 0.35 true   
            tag GenericSound 0.40 true   
//-- end auto generated section
					connect RightHand GreekSword hotspot
					connect LeftForearm LargeGreekShield hotspot
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
	    				ReplaceTexture Infantry G Hypaspist Standard/Muscle Armor
					ReplaceTexture Infantry G Hypaspist Cape/Spartan Cape
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					VisualGranny Hop_AttackA
						tag Attack 0.61 true   
                  tag GenericSound 0.40 true 
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry G Hypaspist_DeathA
				connect RightHand Spear hotspot
                                Connect TopOfHead Blood hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hypaspist Standard/Muscle Armor
				ReplaceTexture Infantry G Hypaspist Cape/Spartan Cape
         }
      }
   }
}


//==============================================================================
anim Flail
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry G Hypaspist_FlailA
				connect RightHand Spear hotspot
                                Connect TopOfHead Blood hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hypaspist Standard/Muscle Armor
				ReplaceTexture Infantry G Hypaspist Cape/Spartan Cape
         }
      }
   }
}
